package cn.huiyunche.base.service.mappers.ext;

import cn.huiyunche.base.service.vo.DAccidentVo;
import cn.huiyunche.base.service.vo.PageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DAccidentViewMapper {

    int countByExample(@Param("userId") Long userId);

    int daccidentCount(@Param("pageVo") PageVo pageVo, @Param("orderCode") String orderCode);

    List<DAccidentVo> selectByExample(@Param("pageVo") PageVo pageVo, @Param("userId") Long userId);

    List<DAccidentVo> selectDaccidentByExample(@Param("pageVo") PageVo pageVo, @Param("orderCode") String orderCode);

    List<DAccidentVo> selectAccidentByWaybillId(@Param("waybillId") Long waybillId);
}
